package com.josephxu.tank.abstractfactory;

import com.josephxu.tank.Dir;
import com.josephxu.tank.Group;
import com.josephxu.tank.TankFrame;

/**
 * @Author: Joseph Xu
 * @Date: 2022/1/30 14:34
 */
public abstract class GameFactory {
    public abstract BaseTank createTank(int x, int y, Dir dir,Group group, TankFrame tankFrame);
    public abstract BaseExplode createExplode(int x, int y,TankFrame tankFrame);
    public abstract BaseBullet createBullet(int x, int y, Dir dir, Group group,TankFrame tankFrame);

}
